package abstractclass;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 38917
 * Date: 2025/5/9
 * Time: 14:31
 */

public class Triangle extends Shape {
    public Triangle(int width, int length) {
        super(width, length);
    }

    @Override
    public void draw() {
        System.out.println("draw triangle" + this.width + "*" + this.length);
    }
}
